package com.gaogao.java;

import java.io.IOError;
import java.io.IOException;

public class MyException extends RuntimeException{
    public MyException(){

    }
    public MyException(String msg){
        super(msg);
    }
}
class ZeoTest{
    public static void main(String args[]){
        int a=1;

        if(a>0){
            throw new MyException("除零异常");
        }
    }
}
